// a collection of item methods
import java.io.*;


public class Item {

    // Few item types for equipping
    public static int capes[] = {
        7535, 14590,14591, 11371, 11372, 10412, 11370, 6568, 6111, 7623, 6570, 6568, 1007,
        7655, 7650, 7648, 7653, 1019, 1021, 1023, 1027, 1029, 1031, 1052, 2412,
        2413, 2414, 4304, 4315, 4317, 4319, 4321, 4323, 4325, 4327, 4329, 4331,
        4333, 4335, 4337, 4339, 4341, 4343, 4345, 4347, 4349, 4351, 4353, 4355,
        4357, 4359, 4361, 4363, 4365, 4367, 4369, 4371, 4373, 4375, 4377, 4379,
        4381, 4383, 4385, 4387, 4389, 4391, 4393, 4395, 4397, 4399, 4401, 4403,
        4405, 4407, 4409, 4411, 4413, 4514, 4516, 6070, 6568, 6570, 4315, 7535,
        7535, 3759, 3761, 3763, 3765, 3777, 3779, 3781, 3783, 3785,
        3787, 3789, 6959, 6111, 6570, 6568, 1007, 1019, 1021, 1023, 1027, 1029,
        1031, 1052, 2412, 2413, 2414, 4304, 4315, 4317, 4319, 4321, 4323, 4325,
        4327, 4329, 4331, 4333, 4335, 4337, 4339, 4341, 4343, 4345, 4347, 4349,
        4351, 4353, 4355, 4357, 4359, 4361, 4363, 4365, 4367, 4369, 4371, 4373,
        4375, 4377, 4379, 4381, 4383, 4385, 4387, 4389, 4391, 4393, 4395, 4397,
        4399, 4401, 4403, 4405, 4407, 4409, 4411, 4413, 4514, 4516, 6070, 6568,
        6570, 7623, 7626, 7628, 7630, 7632, 7634, 7636, 7638, 7640, 7657, 7672,
        7674, 7678, 7680, 7676, 7685, 7682, 11191, 11192, 11193, 11194, 14073,
        14074, 14076, 14077, 14079, 14080, 14082, 14083, 14085, 14086, 14088,
        14091, 14092, 14094, 14095, 14097, 14098, 14100, 141001, 14103,
        14104, 14106, 14107, 14109, 14110, 14112, 14113, 14116,
        14118, 14121, 14124, 14128, 14131,
        14134, 14137, 14089, 14125, 14122, 14127, 14133, 14562, 14561, 14563, 14130, 14119, 14097, 14136, 14098, 14101, 14115, 14139, 15714, 13781, 15713, 14235, 14234, 13754, 13113, 14325, 9865, 9867, 9869, 14223};
    public static int boots[] = {
        11979, 15352, 14668, 6619, 1044, 11981, 7596, 6061, 6106, 88, 89, 626,
        628, 630, 632, 634, 1061, 1837, 1846, 2577, 2579, 2894, 2904, 2914, 2924,
        2934, 3061, 3105, 3107, 3791, 4097, 4107, 4117, 4119, 4121, 4123, 4125,
        4127, 4129, 4131, 4310, 5064, 5345, 5557, 6069, 6106, 6143, 6145, 6147,
        6328, 6349, 6357, 6367, 6377, 7596, 7159, 7114, 6893, 6790, 6666, 6619,
        6920, 6061, 6106, 88, 89, 626, 628, 630, 632, 634, 1061, 1837, 1846,
        2577, 2579, 2894, 2904, 2914, 2924, 2934, 3061, 3105, 3107, 3791, 4097,
        4107, 4117, 4119, 4121, 4123, 4125, 4127, 4129, 4131, 4310, 5064, 5345,
        5557, 6069, 6106, 6143, 6145, 6147, 6328, 3393, 7664, 7666, 7700, 15350, 13758, 13753, 14940, 4084, 13753, 13780, 15016, 14639, 13706, 13705, 13423, 7637, 14335};
    public static int gloves[] = {
        7458, 15086, 6922, 11157, 11161, 10410, 11153, 11137, 7453, 7454, 7455, 7456,
        7457, 7459, 7460, 7461, 7462, 6629, 7595, 7462, 2491, 1065, 2487, 2489,
        3060, 1495, 775, 777, 778, 6708, 1059, 1063, 1065, 1580, 2487, 2489,
        2491, 2902, 2912, 2922, 2932, 2942, 3060, 3799, 4095, 4105, 4115, 4308,
        5556, 6068, 6110, 6149, 6151, 6153, 2997, 6359, 6369, 6379, 6347, 6330,
        7595, 7453, 6720, 6629, 6922, 2491, 1065, 2487, 2489, 3060, 1495, 775,
        777, 778, 6708, 1059, 1063, 1065, 1580, 2487, 2489, 2491, 2902, 2912,
        2922, 2932, 2942, 2799, 3060, 3799, 4095, 4105, 4115, 4308, 5556, 6068,
        6110, 6149, 6151, 6153, 7454, 7455, 7456, 7457, 7458, 7459, 7460, 7461,
        7462, 3391, 7671, 7688, 11711, 13594, 14522, 14526, 14530, 14506, 13779, 13752, 14640, 14214, 13112, 14333, 8031};
    public static int shields[] = {
        11540, 6889, 3101, 11145, 7053, 1171, 1173, 1175, 1177, 1179, 1181, 1183,
        1185, 1187, 1189, 1191, 1193, 1195, 1197, 1199, 1201, 1540, 2589, 2597,
        2603, 2611, 2621, 2629, 2659, 2667, 2675, 2890, 3122, 3488, 3758, 3839,
        3840, 3841, 3842, 9104, 9112, 9116, 9115, 9109, 3843, 3844, 4072, 4156,
        4224, 4225, 4226, 4227, 4228,
        4229, 4230, 4231, 4232, 4233, 4234, 4302, 4507, 4512, 6215, 6217, 6219,
        6221, 6223, 6225, 6227, 6229, 6231, 6233, 6235, 6237, 6239, 6241, 6243,
        6245, 6247, 6249, 6251, 6253, 6255, 6257, 6259, 6261, 6263, 6265, 6267,
        6269, 6271, 6273, 6275, 6277, 6279, 6524, 7350, 7352, 7354, 7356, 7358,
        7360, 7348, 7346, 7344, 7342, 7340, 7338, 7336, 6894, 6631, 6633, 6889,
        7332, 7334, 1171, 1173, 1175, 1177, 1179, 1181, 1183, 1185, 1187, 1189,
        1191, 1193, 1195, 1197, 1199, 1201, 1540, 2589, 2597, 2603, 2611, 2621,
        2629, 2659, 2667, 2675, 2890, 3122, 3488, 3758, 3839, 3840, 3841, 3842,
        3843, 3844, 4072, 4156, 4224, 4225, 4226, 4227, 4228, 4229, 4230, 4231,
        4232, 4233, 4234, 4302, 4507, 4512, 6215, 6217, 6219, 6221, 6223, 6225,
        6227, 6229, 6231, 6233, 6235, 6237, 6239, 6241, 6243, 6245, 6247, 6249,
        6251, 6253, 6255, 6257, 6259, 6261, 6263, 6265, 6267, 6269, 6271, 6273,
        6275, 6277, 6279, 6524, 7643, 7625, 7692, 13595, 13596, 13597, 13598,
        13599, 13600, 13601, 11814, 15185, 14514, 15186, 10348, 9763, 8001, 14331,11232, 13634, 9003};
    public static int hats[] = {
        11225, 1163, 14537,14566, 4515,1167,14534,6109,4513,14075,15309,14078,14081,14084,14087,14090,14093,14096,14099,14102,14105,14108,14111,14114,14117,14120,14123,14126,14129,14132,14135,14138,10651, 11168, 11824, 11490, 6623, 11156, 11160, 11164, 10407,
        11140, 11136, 14513, 9200, 6621, 7656, 7649, 7651, 7654, 7594, 7532,
        7394, 4753, 4732, 4745, 4856, 9092, 9121, 9117, 9118, 9091, 4857, 4858, 4859, 4880, 4881, 4882, 4883,
        4904, 4905, 4906, 4907, 4928, 4929, 4930, 4931, 4952, 4953, 4954, 4955,
        4976, 4977, 4978, 4979, 4611, 6188, 6182, 4511, 4056, 4071, 4724, 2639,
        2641, 2643, 2665, 5525, 5527, 5529, 5531, 5533, 5535, 5537, 5539,
        5541, 5543, 5545, 5547, 5549, 5551, 74, 579, 656, 658, 660, 662, 664,
        740, 1017, 1037, 1038, 1040, 1042, 1044, 1046, 1048, 1050, 1053, 1055,
        1057, 1137, 1139, 1141, 1143, 1145, 1147, 1149, 1151, 1153, 1155, 1157,
        1159, 1161,  1165, 1506, 1949, 2422, 2581, 2587, 2595, 2605, 2613,
        2619, 2627, 2631, 2633, 2635, 2637, 2651, 2657, 2673, 2900, 2910, 2920,
        2930, 2940, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987,
        2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 3057, 3385, 3486, 3748,
        3749, 3753, 3755,15345,3751, 3797, 4041, 4042, 4071, 4089, 4099, 4109, 4164,
        4302, 4506, 4511, 4551, 4567, 4708, 4716, 4724, 4856, 4857,
        4858, 4859, 4880, 4881, 4882, 4883, 4904, 4905, 4906, 4907, 4952, 4953,
        4954, 4955, 4976, 4977, 4978, 4979, 5013, 5014, 5554, 5574,  6128,
        6131, 6137, 6182, 6188, 6335, 6337, 6339, 6345, 6355, 6365, 6375, 6382,
        6392, 6400, 6918, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2978,
        1038, 1040, 1042, 1044, 1046, 1048, 6182, 4516, 4514, 6547, 6548, 4168,
        4166, 3327, 3329, 3331, 3333, 3335, 3337, 3339, 3341, 3343, 2645, 2647,
        2649, 1169, 6326, 7594, 7539, 7534, 7327, 7325, 7323, 7321, 7319,
        7136, 7130, 7124, 7112, 7003, 6895, 6887, 6886, 6885, 6862, 6860, 6858,
        6856, 6665, 6621, 6623, 6918, 6656, 7400, 7321, 7323, 7219, 7325, 7327,
        7396, 7394, 4732, 4753, 4611, 6188, 6182, 4511, 4056, 4071, 4724, 2639,
        2641, 2643, 2665, 5525, 5527, 5529, 5531, 5533, 5535, 5537, 5539,
        5541, 5543, 5545, 5547, 5549, 5551, 74, 579, 656, 658, 660, 662, 664,
        740, 1017, 1037, 1038, 1040, 1042, 1044, 1046, 1048, 1050, 1053, 1055,
        1057, 1137, 1139, 1141, 1143, 1145, 1147, 1149, 1151, 1153, 1155, 1157,
        1159, 1161, 
 1165, 1506, 1949, 2422, 2581, 2587, 2595, 2605, 2613,
        2619, 2627, 2631, 2633, 2635, 2637, 2651, 2657, 2673, 2900, 2910, 2920,
        2930, 2940, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987,
        2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 3057, 3385, 3486, 3748,
        3749, 3753, 3755,15345, 3751,3797, 4041, 4042, 4071, 4089, 4099, 4109, 4164,
        4302, 4506, 4511, 4551, 4567, 4708, 4716, 4724, 4745, 4753,
        4856, 4857, 4858, 4859, 4880, 4881, 4882, 4883, 4904, 4905, 4906, 4907,
        4952, 4953, 4954, 4955, 4976, 4977, 4978, 4979, 5013, 5014, 5554, 5574,
        6128, 6131, 6137, 6182, 6188, 6335, 6337, 6339, 6345, 6355, 6365,
        6375, 6382, 6392, 6400, 6885, 6886, 7621, 7624, 7627, 7629, 7631, 7633,
        7635, 7637, 7639, 7641, 6887, 7652, 7647, 7658, 7663, 7665, 7673, 7675,
        7677, 7679, 7681, 7686, 7687, 7691, 7693, 7694, 7683, 7697, 10261, 10262,
        10263, 10264, 10265, 10266, 10267, 10268, 10269, 10270, 13640,
 14140, 11938, 11939, 11940, 15195, 15310, 15311, 14636, 14635, 14634, 14860, 14533, 14529, 14525, 14819, 13676, 4502, 13776, 13749, 14947, 13748, 15018, 14217, 14212, 15184, 15183, 12251, 12132, 12262, 11235, 13211, 8765, 12639, 10014, 10016};
    public static int amulets[] = {
        11444, 3861, 10413, 11141, 7803, 6585, 86, 87, 295, 421, 552, 589, 1478,
        1692, 1694, 1696, 1698, 1700, 1702, 1704, 1706, 1708, 1710, 1712, 1725,
        1727, 1729, 1731, 4021, 4081, 4250, 4677, 6040, 6041, 6208, 4306, 2406,
        1716, 1722, 1796, 774, 1009, 1654, 616, 6544, 6863, 6861, 6859, 6857,
        6707, 6577, 1724, 1718, 6585, 86, 87, 295, 421, 552, 589, 1478, 1692,
        1694, 1696, 1698, 1700, 1702, 1704, 1706, 1708, 1710, 1712, 1725, 1727,
        1729, 1731, 4021, 4081, 4250, 4677, 6040, 6041, 6208, 11716, 14521, 14520, 14519, 14573, 14574, 14575, 14510, 13888};
    public static int arrows[] = {
        15145, 78, 598, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889,
        890, 891, 892, 893, 942, 2532, 2533, 2534, 2535, 2536, 2537, 2538, 2539,
        2540, 2541, 2866, 4160, 4172, 4173, 4174, 4175, 4740, 5616, 5617, 5618,
        5619, 5620, 5621, 5622, 5623, 5624, 5625, 5626, 5627, 6061, 6062, 4798,
        4793, 4788, 4783, 4773, 4778, 4803, 78, 598, 877, 878, 879, 880, 881,
        882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 942, 2532,
        2533, 2534, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2866, 4160, 4172,
        4173, 4174, 4175, 4740, 5616, 5617, 5618, 5619, 5620, 5621, 5622, 5623,
        5624, 5625, 5626, 5627, 6061, 6062, 14338, 11873};
    public static int rings[] = {
        6735, 6737, 6731, 773, 1635, 1637, 1639, 1641, 1643, 1645, 2550, 2552,
        2554, 2556, 2558, 2560, 2562, 2564, 2566, 2568, 2570, 2572, 4202, 4657,
        6465, 7927, 6583, 6583, 6564, 6575, 6731, 6733, 6735, 6737, 773, 1635,
        1637, 1639, 1641, 1643, 1645, 2550, 2552, 2554, 2556, 2558, 2560, 2562,
        2564, 2566, 2568, 2570, 2572, 4202, 4657, 6465, 1037};
    public static int body[] = {
        14839, 11169, 11977, 14651, 4091, 11154, 11158, 11162, 10408, 11134, 14507,
        14512, 6139, 6129, 6615, 6916, 7390, 7592, 5032, 5034, 5030, 1135, 2499,
        2501, 2503, 6916, 1035, 540, 5553, 4757, 1833, 6388, 6384, 1355, 4111,
        4101, 4091, 6186, 6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736, 4712,
        6107, 2661, 3140, 1101, 1103, 1105, 1107, 1109, 1111, 1113, 1115, 1117,
        1119, 1121, 1123, 1125, 1127, 1129, 1131, 1133, 2583, 2591, 2599, 2607,
        2615, 2623, 2653, 2669, 3387, 3481, 4712, 4720, 4728, 4749, 4892, 4893,
        4894, 4895, 4916, 4917, 4918, 4919, 4964, 4965, 4966, 4967, 6107, 6133,
        6322, 6180, 6065, 5575, 4298, 2936, 2926, 2916, 2906, 2405, 1844, 1757,
        636, 638, 640, 642, 644, 581, 577, 284, 6402, 6394, 6361, 6371, 6351, 9111,
        6341, 5024, 5026, 5028, 5030, 5032, 5034, 3793, 3767, 3769, 3771, 3773,
        3775, 4868, 4869, 4870, 4871, 6139, 6129, 2503, 7592, 546, 544,426, 7376,
        7374, 7372, 7370, 7364, 7362, 7134, 7128, 7122, 7110, 6788, 6786, 6750,
        6615, 6617, 6916, 6654, 7390, 7392, 7362, 7364, 7399, 7374, 7376, 7372,
        7370, 1035, 540, 5553, 4757, 1833, 6388, 6384, 2501, 2499, 4111, 4101,
        4091, 6186, 6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736, 4712, 6107,
        2661, 3140, 1101, 1103, 1105, 1107, 1109, 1111, 1113, 1115, 1117, 1119,
        1121, 1123, 1125, 1127, 1129, 1131, 1133, 1135, 2499, 2501, 2503, 2583,
        2591, 2599, 2607, 2615, 2623, 2653, 2669, 3387, 3481, 4712, 4720, 4728,
        4749, 4916, 4917, 4918, 4919, 4964, 4965, 4966, 4967, 6107, 6133, 6322,
        3387, 2503, 4712, 3387, 7642, 7660, 7661, 7667, 7669, 7689, 7695, 7698,
        11169, 11171, 11173, 11175, 11177, 11179, 11181, 11183, 11185, 11187,
        11198, 11199, 11200, 11125, 11126, 11127, 11128, 11129, 14638, 15348, 15346, 
	13591, 14523, 14527, 14531, 14569, 14567, 14568, 14538, 14540, 14542, 14544, 14546, 14548, 14550, 14552, 14554, 14556, 11138, 15348, 15346, 14503, 1005, 13669, 13777, 13750, 15368, 15369, 15370, 14945, 2896, 15017, 13665, 13666, 13667, 13668, 13669, 13670, 14216, 13665, 11324, 9235, 13656, 14327, 8033, 11234, 11239, 14237, 12781};
    public static int legs[] = {
        10653, 14023, 11978, 11170, 11978, 6141, 11155, 11159, 11163, 10409,
        14511, 14508, 11135, 6130, 6627, 6625, 7386, 7593, 1835, 538, 1033, 9110,
        5555, 4759, 6386, 6390, 2497, 2495, 2493, 1099, 4113, 4103, 4093, 6924,
        6187, 6185, 6181, 3059, 4510, 4505, 4070, 6108, 538, 542,428,548, 1011,
        1013, 1015, 1067, 1069, 1071, 1073, 1075, 1077, 1079, 1081, 1083, 1085,
        1087, 1089, 1091, 1093, 2585, 2593, 2601, 2609, 2617, 2625, 2655, 2663,
        2671, 3059, 3389, 3472, 3473, 3474, 3475, 3476, 3477, 3478, 3479, 3480,
        3483, 3485, 3795, 4087, 4585, 4712, 4714, 4722, 4730, 4738, 4751, 4759,
        4874, 4875, 4876, 4877, 4898, 4899, 4900, 4901, 4922, 4923, 4924, 4925,
        4946, 4947, 4948, 4949, 4970, 4971, 4972, 4973, 4994, 4995, 4996, 4997,
        5048, 5050, 5052, 5576, 6107, 6130, 6187, 6390, 6386, 6390, 6396, 6404,
        6181, 6067, 4300, 2938, 2928, 2918, 2908, 1845, 1095, 1097, 646, 648,
        650, 652, 654, 285, 6406, 6398, 6353, 6363, 6373, 6343, 6324, 5036, 5038,
        5040, 5042, 5044, 5046, 5048, 5050, 5052, 6141, 6135, 6130, 7593, 7380,
        7382, 7384, 7368, 7366, 7138, 7132, 7126, 7116, 6789, 6787, 6752, 6627,
        6625, 6809, 6924, 6655, 7386, 7388, 7366, 7368, 7398, 7378, 1835,
        538, 1033, 5555, 4759, 6386, 6390, 2497, 2495, 2493, 1099, 4113, 4103,
        4093, 6187, 6185, 6181, 3059, 4510, 4505, 4070, 6108, 538, 542,428, 548,
        1011, 1013, 1015, 1067, 1069, 1071, 1073, 1075, 1077, 1079, 1081, 1083,
        1085, 1087, 1089, 1091, 1093, 2585, 2593, 2601, 2609, 2617, 2625, 2655,
        2663, 2671, 3059, 3389, 3472, 3473, 3474, 3475, 3476, 3477, 3478, 3479,
        3480, 3483, 3485, 3795, 4087, 4585, 4712, 4714, 4722, 4730, 4738, 4751,
        4759, 4874, 4875, 4876, 4877, 4898, 4899, 4900, 4901, 4922, 4923, 4924,
        4925, 4946, 4947, 4948, 4949, 4970, 4971, 4972, 4973, 4994, 4995, 4996,
        4997, 5048, 5050, 5052, 5576, 6107, 6130, 6187, 6390, 6386, 6390, 6396,
        6404, 7659, 7662, 7668, 7670, 7690, 7696, 7699, 11170, 11172, 11174,
        11176, 11178, 11180, 11182, 11184, 11186, 11188, 11201, 11202, 11203, 15349, 
	15347, 13592, 14524, 14528, 14532, 14571, 14570, 14572, 14541, 14539, 14543, 14545, 14547, 14549, 14551, 14553, 14555, 14557, 14504, 13700, 14817, 14536, 13751, 13778, 14946, 2898, 15019, 14642, 13698, 13699, 13700, 13701, 13702, 14215, 12214, 14329, 8029, 11236, 15064};
    public static int platebody[] = {
        14839, 10652, 4091, 11154, 11158, 11162, 10408, 11134, 11138, 11143, 6139, 6129,
        6617, 6916, 7390, 5032, 5034, 5030, 1035, 540, 5553, 4757, 1833, 1835,
        6388, 6384, 1355, 4111, 4101, 4868, 4869, 4870, 4871, 4892, 4893, 4894,
        4895, 4916, 4917, 4918, 4919, 4940, 4941, 4942, 4943, 4964, 4965, 4966,
        4967, 4988, 4989, 4990, 49914091, 6186, 6184, 6180, 3058, 4509, 4504,
        4069, 4728, 4736, 4712, 6107, 2661, 3140, 1115, 1117, 1119, 1121, 1123,
        1125, 1127, 2583, 2591, 2599, 2607, 2615, 2623, 2653, 2669, 3481, 4720,
        4728, 4749, 2661, 7392, 7390, 6065, 5575, 4298, 2936, 2926, 2916, 2906,
        2405, 1844, 636, 638, 640, 642, 644, 581, 577, 284, 6402, 6394, 6361,
        6371, 6351, 6341, 6322, 7399, 6916, 3793, 3767, 3769, 3771, 3773, 3775,
        4892, 4893, 4894, 4895, 6139, 6133, 6129, 546, 544,426, 6788, 6786, 6750,
        6615, 6617, 6625, 1035, 540, 5553, 4757, 1833, 1835, 6388, 6384, 1355,
        4111, 4101, 4091, 6186, 6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736,
        4712, 6107, 2661, 3140, 1115, 1117, 1119, 1121, 1123, 1125, 1127, 2583,
        2591, 2599, 2607, 2615, 2623, 2653, 2669, 3481, 4720, 4728, 4749, 2661,
        3387, 7642, 7667, 7689, 7695, 7698, 11169, 11171, 11173, 11175, 11177,
        11179, 11181, 11183, 11185, 11187, 11198, 11199, 11200, 11125, 11126,
        11127, 11128, 11129, 11268, 15348, 15346, 13591, 14638, 14523, 14527, 
	14531, 14569, 14567, 14568, 14538, 14540, 14542, 14544, 14546, 14548, 14550, 14552, 14554, 14556, 11138, 15348, 15346, 14503, 13669, 13777, 13750, 15368, 15369, 15370, 14945, 2896, 15017, 13665, 11324, 9235, 13656, 14327, 8033, 11234, 11239, 14237, 12781};
    public static int fullHelm[] = {6137, 11156, 11160,6109,4515,1167,4513,14075,15309,14078,14081,14084,14087,14090,14093,14096,14099,14102,14105,14108,14111,14114,14117,14120,14123,14126,14129,14132,14135,14138, 11164, 10407, 9200, 6128, 6623, 6621, 7534, 7594,
        4753, 6188, 4511, 4056, 4071, 4724, 2665, 1153, 1155, 1157, 1159,
        1161, 1165, 2587, 2595, 2605, 2613, 2619, 2627, 2657, 2673, 3486,
        6402, 6394, 7539, 7534, 4516, 4514, 5574, 3327, 3329, 3331, 3333,
        3335, 3337, 3339, 3341, 3343, 1169, 1137, 1139, 1141, 1143, 1145,
        1147, 6400, 6392, 6326, 4745, 4952, 4953, 4954, 4955, 3748, 7594, 7539,
        7534, 7136, 7130, 7124, 7112, 7003, 6895, 6621, 6623, 4732, 4753, 6188,
        4511, 4056, 4071, 4724, 2665, 1153, 1155, 1157, 1159, 1161, 1163,
        1165, 2587, 2595, 2605, 2613, 2619, 2627, 2657, 2673, 3486, 6402, 6394,
        3749, 3753, 3755,15345,3751, 4567, 4708, 4716, 6885, 6886, 6887, 7663, 10706,
        10709, 10712, 10715, 10718, 10721, 10724, 10727, 10730, 10733, 10736,
        10739, 10742, 10745, 10748, 10751, 10754, 10757, 10760, 10763, 10766,
        10769, 10771, 15195, 15310, 15311, 14636, 14635, 14634, 14860, 14533, 14529, 14525, 14123, 14129, 14114, 14126, 14126, 14566, 14565, 14564, 14509, 14505, 14140, 14138, 14102, 14120, 14819, 14117, 14132, 4502, 13776, 14947, 15018, 12251, 12262, 11235, 13211};
public static int Helm[] = {14566,1167,4515,1167,14860,6109,14075,15309,14078,14081,14084,14087,14090,14093,14096,14099,14102,14105,14108,14111,14114,14117,14120,14123,14126,14129,14132,14135,14138,4513};
    public static int fullMask[] = {
        6621, 6623, 4732, 4708, 4724, 1163, 4716, 4732, 5554, 4611, 6188, 3507, 4511,
        4056, 4071, 4724, 2665, 1053, 1055, 1057, 1506, 3339, 3341, 3327,
        4745, 4952, 4953, 4954, 4955, 1149, 7594, 7539, 7534, 7136, 7130, 7124,
        7112, 7003, 6895, 6621, 6623, 4732, 5554, 4753, 4611, 6188, 3507, 4511,
        4056, 4071, 4724, 2665, 1053, 1055, 1057, 7652, 7647, 7649, 7656,
        7629, 7624, 7627, 7633, 7654, 7631, 7651, 7635, 7624, 7637, 7639, 7641,
        7658, 7665, 7673, 7675, 7677, 7679, 7681, 7686, 7687, 7691, 7683, 15195, 15310, 15311, 14636, 14635, 14634, 14860, 14533, 14529, 14525, 14102, 14120, 14819, 14117, 14132, 4502, 13776, 15018, 12132};
    // All other IDs are weapons (I hope)
    public static int herbs[] = {
        249, 251, 253, 257, 259, 261, 263, 265, 2481, 267, 269, 3000, 2998};
    public static int allotment[] = { 1942, 1957, 1965, 1982, 5986, 5504, 5982};
    public static int flower[] = { 6010, 6014, 6012, 1793, 225};

    public static int crackers[] = { 1038, 1040, 1042, 1044, 1046, 1048};
    public static int normal_gems[] = { 1623, 1621, 1619, 1617};
    public static int shilo_gems[] = { 1623, 1621, 1619, 1617, 1625, 1627, 1629};

    public static int TinOre[] = { 438};
    public static int CopperOre[] = { 436};
    public static int IronOre[] = { 440};
    public static int CoalOre[] = { 453};
    public static int MithOre[] = { 447};
    public static int AddyOre[] = { 449};
    public static int RuneOre[] = { 451};

    /* Any Sea - ID 1*/
    public static int fishing_net[] = { 317, 321};
    public static int fishing_net_lvl[] = { 1, 15};
    public static int fishing_net_xp[] = { 10, 40};

    /* Any Sea - ID 2*/
    public static int fishing_rod1[] = { 327, 345};
    public static int fishing_rod1_lvl[] = { 5, 10};
    public static int fishing_rod1_xp[] = { 10, 30};

    /* Lumby Swamp - ID 3*/
    public static int fishing_rod2[] = { 3379, 5001};
    public static int fishing_rod2_lvl[] = { 28, 36};
    public static int fishing_rod2_xp[] = { 65, 80};

    /* Any River - ID 4*/
    public static int fishing_fly[] = { 335, 349, 331};
    public static int fishing_fly_lvl[] = { 20, 25, 30};
    public static int fishing_fly_xp[] = { 50, 60, 70};

    /* Catherby, relekka and fishing guild - ID 5*/
    public static int fishing_big_net[] = { 353, 407, 405, 401, 341, 363};
    public static int fishing_big_net_lvl[] = { 16, 16, 16, 16, 23, 46};
    public static int fishing_big_net_xp[] = { 20, 10, 10, 1, 45, 100};

    /* karamja, fishing guild, caatherby and rellekka - ID 6*/
    public static int fishing_harpoon[] = { 359, 371};
    public static int fishing_harpoon_lvl[] = { 35, 50};
    public static int fishing_harpoon_xp[] = { 80, 100};
	
    public static int smithing_frame[][][] = {
        {
            { 1205, 1, 1, 1, 1125, 1094}, { 1351, 1, 1, 1, 1126, 1091},
            { 1422, 1, 2, 1, 1129, 1093}, { 1139, 1, 3, 1, 1127, 1102},
            { 1277, 1, 3, 1, 1128, 1085}, { 819, 10, 4, 1, 1124},
            { 4819, 15, 4, 1, 13357, 13358}, { 39, 15, 5, 1, 1130, 1108},
            { 1321, 1, 5, 2, 1116, 1087}, { 1291, 1, 6, 2, 1089, 1086},
            { 1155, 1, 7, 2, 1113, 1103}, { 864, 5, 7, 1, 1131, 1106},
            { 1173, 1, 8, 2, 1114, 1104}, { 1337, 1, 9, 3, 1118, 1083},
            { 1375, 1, 10, 3, 1095, 1092}, { 1103, 1, 11, 3, 1109, 1098},
            { 1189, 1, 12, 3, 1115, 1105}, { 3095, 1, 13, 2, 8428, 8429},
            { 1307, 1, 14, 3, 1090, 1088}, { 1087, 1, 16, 3, 1111, 1100},
            { 1075, 1, 16, 3, 1110, 1099}, { 1117, 1, 18, 5, 1112, 1101}, /* Specials*/
            {
                1794,
                1, 4, 1, 1132, 1096}},
        {
            { 1203, 1, 15, 1, 1125, 1094}, { 1349, 1, 16, 1, 1126, 1091},
            { 1420, 1, 17, 1, 1129, 1093}, { 1137, 1, 18, 1, 1127, 1102},
            { 1279, 1, 19, 1, 1128, 1085}, { 820, 10, 19, 1, 1124},
            { 4820, 15, 19, 1, 13357, 13358}, { 40, 15, 20, 1, 1130, 1108},
            { 1323, 1, 20, 2, 1116, 1087}, { 1293, 1, 21, 2, 1089, 1086},
            { 1153, 1, 22, 2, 1113, 1103}, { 863, 5, 22, 1, 1131, 1106},
            { 1175, 1, 23, 2, 1114, 1104}, { 1335, 1, 24, 3, 1118, 1083},
            { 1363, 1, 25, 3, 1095, 1092}, { 1101, 1, 26, 3, 1109, 1098},
            { 1191, 1, 27, 3, 1115, 1105}, { 3096, 1, 28, 2, 8428, 8429},
            { 1309, 1, 29, 3, 1090, 1088}, { 1081, 1, 31, 3, 1111, 1100},
            { 1067, 1, 31, 3, 1110, 1099}, { 1115, 1, 33, 5, 1112, 1101}, /* Specials*/
            {
                4540,
                1, 26, 1, 11459, 11461}},
        {
            { 1207, 1, 30, 1, 1125, 1094}, { 1353, 1, 31, 1, 1126, 1091},
            { 1424, 1, 32, 1, 1129, 1093}, { 1141, 1, 33, 1, 1127, 1102},
            { 1281, 1, 34, 1, 1128, 1085}, { 821, 10, 34, 1, 1124},
            { 1539, 15, 34, 1, 13357, 13358}, { 41, 15, 35, 1, 1130, 1108},
            { 1325, 1, 35, 2, 1116, 1087}, { 1295, 1, 36, 2, 1089, 1086},
            { 1157, 1, 37, 2, 1113, 1103}, { 865, 5, 37, 1, 1131, 1106},
            { 1177, 1, 38, 2, 1114, 1104}, { 1339, 1, 39, 3, 1118, 1083},
            { 1365, 1, 40, 3, 1095, 1092}, { 1105, 1, 41, 3, 1109, 1098},
            { 1193, 1, 42, 3, 1115, 1105}, { 3097, 1, 43, 2, 8428, 8429},
            { 1311, 1, 44, 3, 1090, 1088}, { 1083, 1, 46, 3, 1111, 1100},
            { 1069, 1, 46, 3, 1110, 1099}, { 1119, 1, 48, 5, 1112, 1101}, /* Specials*/
            {
                4544,
                1, 49, 1, 11459, 11461},
            { 2370, 1, 36, 1, 1135, 1134}},
        {
            { 1209, 1, 50, 1, 1125, 1094}, { 1355, 1, 51, 1, 1126, 1091},
            { 1428, 1, 52, 1, 1129, 1093}, { 1143, 1, 53, 1, 1127, 1102},
            { 1285, 1, 53, 1, 1128, 1085}, { 822, 10, 54, 1, 1124},
            { 4822, 15, 54, 1, 13357, 13358}, { 42, 15, 55, 1, 1130, 1108},
            { 1329, 1, 55, 2, 1116, 1087}, { 1299, 1, 56, 2, 1089, 1086},
            { 1159, 1, 57, 2, 1113, 1103}, { 866, 5, 57, 1, 1131, 1106},
            { 1181, 1, 58, 2, 1114, 1104}, { 1343, 1, 59, 3, 1118, 1083},
            { 1369, 1, 60, 3, 1095, 1092}, { 1109, 1, 61, 3, 1109, 1098},
            { 1197, 1, 62, 3, 1115, 1105}, { 3099, 1, 63, 2, 8428, 8429},
            { 1315, 1, 64, 3, 1090, 1088}, { 1085, 1, 66, 3, 1111, 1100},
            { 1071, 1, 66, 3, 1110, 1099}, { 1121, 1, 68, 5, 1112, 1101}},
        {
            { 1211, 1, 70, 1, 1125, 1094}, { 1357, 1, 71, 1, 1126, 1091},
            { 1430, 1, 72, 1, 1129, 1093}, { 1145, 1, 73, 1, 1127, 1102},
            { 1287, 1, 74, 1, 1128, 1085}, { 823, 10, 74, 1, 1124},
            { 4823, 15, 74, 1, 13357, 13358}, { 43, 15, 75, 1, 1130, 1108},
            { 1331, 1, 75, 2, 1116, 1087}, { 1301, 1, 76, 2, 1089, 1086},
            { 1161, 1, 77, 2, 1113, 1103}, { 867, 5, 77, 1, 1131, 1106},
            { 1183, 1, 78, 2, 1114, 1104}, { 1345, 1, 79, 3, 1118, 1083},
            { 1371, 1, 80, 3, 1095, 1092}, { 1111, 1, 81, 3, 1109, 1098},
            { 1199, 1, 82, 3, 1115, 1105}, { 3100, 1, 83, 2, 8428, 8429},
            { 1317, 1, 84, 3, 1090, 1088}, { 1091, 1, 86, 3, 1111, 1100},
            { 1073, 1, 86, 3, 1110, 1099}, { 1123, 1, 88, 5, 1112, 1101}},
        {
            { 1213, 1, 85, 1, 1125, 1094}, { 1359, 1, 86, 1, 1126, 1091},
            { 1432, 1, 87, 1, 1129, 1093}, { 1147, 1, 88, 1, 1127, 1102},
            { 1289, 1, 89, 1, 1128, 1085}, { 824, 10, 89, 1, 1124},
            { 4824, 15, 89, 1, 13357, 13358}, { 44, 15, 90, 1, 1130, 1108},
            { 1333, 1, 90, 2, 1116, 1087}, { 1303, 1, 91, 2, 1089, 1086},
            { 1163, 1, 92, 2, 1113, 1103}, { 868, 5, 92, 1, 1131, 1106},
            { 1185, 1, 93, 2, 1114, 1104}, { 1347, 1, 94, 3, 1118, 1083},
            { 1373, 1, 95, 3, 1095, 1092}, { 1113, 1, 96, 3, 1109, 1098},
            { 1201, 1, 97, 3, 1115, 1105}, { 3101, 1, 98, 2, 8428, 8429},
            { 1319, 1, 99, 3, 1090, 1088}, { 1093, 1, 99, 3, 1111, 1100},
            { 1079, 1, 99, 3, 1110, 1099}, { 1127, 1, 99, 5, 1112, 1101}}
        // 0			1			2			3			4			5			6				7			8			9			10			11			12			13			14			15			16		17				18			19			20			21				22			23
        // dagger			axe			mace			medium			sword			dart tips		nails				arrow heads		scimitar		long sword		full helmet		knives			square			warhammer		battle axe		chain			kite		claws				2-handed		skirt			legs			body				lantern/wire		studs
    };
    public static int SmithingItems[][] = new int[5][5];

    public static boolean[] itemStackable = new boolean[20000];
    public static boolean[] itemIsNote = new boolean[20000];
    public static boolean[] itemTwoHanded = new boolean[20000];
    public static boolean[] itemTradeable = new boolean[20000];
    public static boolean[] itemSellable = new boolean[20000];
    static {
        int counter = 0;
        int c;

        try {
            FileInputStream dataIn = new FileInputStream(
                    new File("data/stackable.dat"));

            while ((c = dataIn.read()) != -1) {
                if (c == 0) {
                    itemStackable[counter] = false;
                } else {
                    itemStackable[counter] = true;
                }
                counter++;
            }
            dataIn.close();
        } catch (IOException e) {
            System.out.println(
                    "Critical error while loading stackabledata! Trace:");
            e.printStackTrace();
        }

        counter = 0;
        try {
            FileInputStream dataIn = new FileInputStream(
                    new File("data/notes.dat"));

            while ((c = dataIn.read()) != -1) {
                if (c == 0) {
                    itemIsNote[counter] = true;
                } else {
                    itemIsNote[counter] = false;
                }
                counter++;
            }
            dataIn.close();
        } catch (IOException e) {
            System.out.println("Critical error while loading notedata! Trace:");
            e.printStackTrace();
        }

        counter = 0;
        try {
            FileInputStream dataIn = new FileInputStream(
                    new File("data/twohanded.dat"));

            while ((c = dataIn.read()) != -1) {
                if (c == 0) {
                    itemTwoHanded[counter] = false;
                } else {
                    itemTwoHanded[counter] = true;
                }
                counter++;
            }
            dataIn.close();
        } catch (IOException e) {
            System.out.println("Critical error while loading twohanded! Trace:");
            e.printStackTrace();
        }

        counter = 0;		
        try {
            FileInputStream dataIn = new FileInputStream(
                    new File("data/tradeable.dat"));

            while ((c = dataIn.read()) != -1) {
                if (c == 0) {
                    itemTradeable[counter] = false;
                } else {
                    itemTradeable[counter] = true;
                }
                counter++;
            }
            dataIn.close();
        } catch (IOException e) {
            System.out.println("Critical error while loading tradeable! Trace:");
            e.printStackTrace();
        }

        counter = 0;		
        try {
            FileInputStream dataIn = new FileInputStream(
                    new File("data/sellable.dat"));

            while ((c = dataIn.read()) != -1) {
                if (c == 0) {
                    itemSellable[counter] = true;
                } else {
                    itemSellable[counter] = false;
                }
                counter++;
            }
            dataIn.close();
        } catch (IOException e) {
            System.out.println("Critical error while loading sellable! Trace:");
            e.printStackTrace();
        }
    }

    public static int randomCape() {
        return capes[(int) (Math.random() * capes.length)];
    }

    public static int randomBoots() {
        return boots[(int) (Math.random() * boots.length)];
    }

    public static int randomGloves() {
        return gloves[(int) (Math.random() * gloves.length)];
    }

    public static int randomShield() {
        return shields[(int) (Math.random() * shields.length)];
    }

    public static int randomHat() {
        return hats[(int) (Math.random() * hats.length)];
    }

    public static int randomAmulet() {
        return amulets[(int) (Math.random() * amulets.length)];
    }

    public static int randomArrows() {
        return arrows[(int) (Math.random() * arrows.length)];
    }

    public static int randomRing() {
        return rings[(int) (Math.random() * rings.length)];
    }

    public static int randomBody() {
        return body[(int) (Math.random() * body.length)];
    }

    public static int randomLegs() {
        return legs[(int) (Math.random() * legs.length)];
    }

    public static int randomPHat() {
        return crackers[(int) (Math.random() * crackers.length)];
    }

    public static int randomNGems() {
        return normal_gems[(int) (Math.random() * normal_gems.length)];
    }

    public static int randomSGems() {
        return shilo_gems[(int) (Math.random() * shilo_gems.length)];
    }

    public static int randomTinOre() {
        return TinOre[(int) (Math.random() * TinOre.length)];
    }

    public static int randomCopperOre() {
        return CopperOre[(int) (Math.random() * CopperOre.length)];
    }

    public static int randomIronOre() {
        return IronOre[(int) (Math.random() * IronOre.length)];
    }

    public static int randomCoalOre() {
        return CoalOre[(int) (Math.random() * CoalOre.length)];
    }

    public static int randomMithOre() {
        return MithOre[(int) (Math.random() * MithOre.length)];
    }

    public static int randomAddyOre() {
        return AddyOre[(int) (Math.random() * AddyOre.length)];
    }

    public static int randomRuneOre() {
        return RuneOre[(int) (Math.random() * RuneOre.length)];
    }

    public static int gems[] = { 1623, 1619, 1621, 1617};

    public static int randomGem() {
        return gems[(int) (Math.random() * gems.length)];
    }

    public static int spiceitems[] = { 1052};

    public static int randomSpiceitem() {
        return spiceitems[(int) (Math.random() * spiceitems.length)];
    }

    public static int slayer135items[] = {
        1052, 4708, 4712, 4714, 6110, 6109, 6108, 6107, 6106, 6111, 4087, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        6110, 6109, 6108, 6107, 6106, 6111, 4834, 4834, 4834, 4675};
    public static int randomSlayer135item() {
        return slayer135items[(int) (Math.random() * slayer135items.length)];
    }

    public static int slayer120items[] = {
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 2653, 2655,
        4834, 4834, 2583, 2587, 2589, 2591, 2593, 2595, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 2587, 2587,
        3054, 4834, 4834};
    public static int randomSlayer120item() {
        return slayer120items[(int) (Math.random() * slayer120items.length)];
    }

    public static int slayer99items[] = {
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 2653, 2655,
        4834, 4834, 2597, 2593, 2595, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 2587, 2587, 3054, 4834, 4834,
        2651, 2577, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834, 4834,
        4834};
    public static int randomSlayer99item() {
        return slayer99items[(int) (Math.random() * slayer99items.length)];
    }

    public static int silvers[] = {
        442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
        442, 442, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 1718, 1718, 1718,
        1718, 1718, 1718, 1718, 1718, 1718, 1718, 442, 442, 442, 442, 442, 442,
        442, 442, 442, 442, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 442, 442,
        442, 442, 442, 442, 442, 442, 442, 442, 2355, 2355, 2355, 2355, 2355,
        2355, 2355, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 2355, 2355,
        2355, 2355, 2355, 2355, 2355, 442, 442, 442, 442, 442, 442, 442, 442,
        442, 442, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 442, 442, 442, 442,
        442, 442, 442, 442, 442, 442, 2355, 2355, 2355, 2355, 2355, 2355, 2355,
        442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 2355, 2355, 2355, 2355,
        2355, 2355, 2355};

    public static int randomSilver() {
        return silvers[(int) (Math.random() * silvers.length)];
    }
    public static int slayeritems75[] = {
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 2682, 2682, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4153, 4153, 4153, 4153,
        4153, 4153, 4153, 4153, 4153, 4153, 6524, 6527, 6527, 6527, 6527, 1187,
        4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131,
        4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 4131, 2663, 2663, 2663,
        2663, 2663, 2669, 2643, 2643, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352, 2352,
        2352, 2352, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360,
        2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360,
        2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360,
        2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 2360, 1127, 1127, 1127,
        1127, 1127, 1127, 1127, 1127, 65, 1165, 1165, 1165, 1165, 1165, 1165,
        1165, 1165, 1165, 1165, 1165, 987, 987, 987, 987, 987, 987, 987, 987,
        987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 987, 985, 985, 985,
        985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985,
        985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985, 985,
        985, 985, 985, 985, 985, 985, 985, 985, 985, 1149, 1149, 1149, 1149,
        1149, 4755, 4755, 4751, 4751, 4751, 4751, 4751, 4757, 4757, 4087, 4087,
        4722, 4722, 4720, 4506, 4506, 4506, 4506, 4506, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 1450,
        1450, 1450, 1450, 1450, 1450, 1450, 1450, 1450, 1450, 1450, 1450, 1450,
        1450, 1450, 1456, 1456, 1456, 1456, 4714};

    public static int randomSlayeritem75() {
        return slayeritems75[(int) (Math.random() * slayeritems75.length)];
    }

    public static int slayeritems65[] = {
        4830, 4830, 4830, 4830, 2682, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187, 3187,
        3187, 3187, 4716, 4716, 4732, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830, 4830,
        4830, 4830, 4732};

    public static int randomSlayeritem65() {
        return slayeritems65[(int) (Math.random() * slayeritems65.length)];
    }

    public static int goditems[] = { 2412, 2413, 2414};
    public static int randomGoditem() {
        return goditems[(int) (Math.random() * goditems.length)];
    }

    public static int phats[] = { 9999};

    public static int randomPhat() {
        return phats[(int) (Math.random() * phats.length)];
    }

    public static int partyhats[] = { 9999};
    public static int randomPartyHat() {
        return partyhats[(int) (Math.random() * partyhats.length)];
    }

    public static int randarmour[] = {
        6959, 6111, 6570, 6568, 1007, 1019, 1021, 1023, 1027, 1029, 1031, 1052,
        2412, 2413, 2414, 4304, 4315, 4317, 4319, 4321, 4323, 4325, 4327, 4329,
        4331, 4333, 4335, 4337, 4339, 4341, 4343, 4345, 4347, 4349, 4351, 4353,
        4355, 4357, 4359, 4361, 4363, 4365, 4367, 4369, 4371, 4373, 4375, 4377,
        4379, 4381, 4383, 4385, 4387, 4389, 4391, 4393, 4395, 4397, 4399, 4401,
        4403, 4405, 4407, 4409, 4411, 4413, 4514, 4516, 6070, 6568, 6570, 6619,
        3393, 4084, 6920, 6061, 6106, 88, 89, 626, 628, 630, 632, 634, 1061,
        1837, 1846, 2577, 2579, 2894, 2904, 2914, 2924, 2934, 3061, 3105, 3107,
        3791, 4097, 4107, 4117, 4119, 4121, 4123, 4125, 4127, 4129, 4131, 4310,
        5064, 5345, 5557, 6069, 6106, 6143, 6145, 6147, 6328, 7457, 6629, 7462,
        6922, 2491, 1065, 2487, 2489, 3060, 1495, 775, 777, 778, 6708, 1059,
        1063, 1065, 1580, 2487, 2489, 2491, 2902, 2912, 2922, 2932, 2942, 3060,
        3799, 4095, 4105, 4115, 4308, 5556, 6068, 6110, 6149, 6151, 6153, 6631,
        6633, 6889, 7336, 7332, 7334, 1171, 1173, 1175, 1177, 1179, 1181, 1183,
        1185, 1187, 1189, 1191, 1193, 1195, 1197, 1199, 1201, 1540, 2589, 2597,
        2603, 2611, 2621, 2629, 2659, 2667, 2675, 2890, 3122, 3488, 3758, 3839,
        3840, 3841, 3842, 3843, 3844, 4072, 4156, 4224, 4225, 4226, 4227, 4228,
        4229, 4230, 4231, 4232, 4233, 4234, 4302, 4507, 4512, 6215, 6217, 6219,
        6221, 6223, 6225, 6227, 6229, 6231, 6233, 6235, 6237, 6239, 6241, 6243,
        6245, 6247, 6249, 6251, 6253, 6255, 6257, 6259, 6261, 6263, 6265, 6267,
        6269, 6271, 6273, 6275, 6277, 6279, 6524, 6621, 6623, 6858, 6860, 6862,
        6856, 6918, 6656, 7400, 7321, 7323, 7219, 7325, 7327, 7396, 7394, 4732,
        4753, 4611, 6188, 6182, 4511, 4056, 4071, 4724, 2639, 2641, 2643, 2665,
        6109, 5525, 5527, 5529, 5531, 5533, 5535, 5537, 5539, 5541, 5543, 5545,
        5547, 5549, 5551, 74, 579, 656, 658, 660, 662, 664, 740, 1017, 1037,
        1038, 1040, 1042, 1044, 1046, 1048, 1050, 1053, 1055, 1057, 1137, 1139,
        1141, 1143, 1145, 1147, 1149, 1151, 1153, 1155, 1157, 1159, 1161, 1163,
        1165, 1506, 1949, 2422, 2581, 2587, 2595, 2605, 2613, 2619, 2627, 2631,
        2633, 2635, 2637, 2651, 2657, 2673, 2900, 2910, 2920, 2930, 2940, 2978,
        2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990,
        2991, 2992, 2993, 2994, 2995, 3057, 3385, 3486, 3748, 3749, 3751, 3753,
        3755, 3797, 4041, 4042, 4071, 4089, 4099, 4109, 4164, 4302, 4506, 4511,
        4513, 4515, 4551, 4567, 4708, 4716, 4724, 4745, 4753, 4856, 4857, 4858,
        4859, 4880, 4881, 4882, 4883, 4904, 4905, 4906, 4907, 4952, 4953, 4954,
        4955, 4976, 4977, 4978, 4979, 5013, 5014, 5554, 6109, 6128, 6131, 6137,
        6182, 6188, 6335, 6337, 6339, 6345, 6355, 6365, 6375, 6382, 6392, 6400,
        6577, 6581, 6857, 6859, 6861, 6863, 6585, 86, 87, 295, 421, 552, 589,
        1478, 1692, 1694, 1696, 1698, 1700, 1702, 1704, 1706, 1708, 1710, 1712,
        1725, 1727, 1729, 1731, 4021, 4081, 4250, 4677, 6040, 6041, 6208, 6577,
        6583, 6675, 6731, 6733, 6735, 6737, 773, 1635, 1637, 1639, 1641, 1643,
        1645, 2550, 2552, 2554, 2556, 2558, 2560, 2562, 2564, 2566, 2568, 2570,
        2572, 4202, 4657, 6465, 6615, 6617, 577, 2503, 3793, 636, 637, 640, 642,
        644, 2896, 6916, 6654, 7390, 7392, 7362, 7364, 7399, 7374, 7376, 7372,
        7370, 1035, 540, 5553, 4757, 1833, 6388, 6384, 2501, 2499, 4111, 4101,
        4091, 6186, 6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736, 4712, 6107,
        2661, 3140, 1101, 1103, 1105, 1109, 1111, 1113, 1115, 1117, 1119, 1121,
        1123, 1125, 1127, 1129, 1131, 1133, 1135, 2499, 2501, 2503, 2583, 2591,
        2599, 2607, 2615, 2623, 2653, 2669, 3387, 3481, 4712, 4720, 4728, 4749,
        4892, 4893, 4894, 4895, 4916, 4917, 4918, 4919, 4964, 4965, 4966, 4967,
        6107, 6133, 6322, 577, 6625, 6627, 3795, 646, 648, 650, 652, 654, 2898,
        6343, 6353, 6363, 6373, 6924, 6655, 7386, 7388, 7366, 7368, 7398, 7382,
        7384, 7380, 7378, 426, 1835, 538, 1033, 5555, 4759, 6386, 6390, 2503,
        2497, 2495, 2493, 1099, 4113, 4103, 4093, 6187, 6185, 6181, 3059, 4510,
        4505, 4070, 6108, 538, 542, 548, 1011, 1013, 1015, 1067, 1069, 1071,
        1073, 1075, 1077, 1079, 1081, 1083, 1085, 1087, 1089, 1091, 1093, 2585,
        2593, 2601, 2609, 2617, 2625, 2655, 2663, 2671, 3059, 3389, 3472, 3473,
        3474, 3475, 3476, 3477, 3478, 3479, 3480, 3483, 3485, 3795, 4087, 4585,
        4712, 4714, 4722, 4730, 4738, 4751, 4759, 4874, 4875, 4876, 4877, 4898,
        4899, 4900, 4901, 4922, 4923, 4924, 4925, 4946, 4947, 4948, 4949, 4970,
        4971, 4972, 4973, 4994, 4995, 4996, 4997, 5048, 5050, 5052, 5576, 6107,
        6130, 6187, 6390, 6386, 6390, 6396, 6404, 6615, 6617, 1035, 540, 5553,
        4757, 1833, 1835, 6388, 6384, 2501, 2499, 1355, 4111, 4101, 4091, 6186,
        6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736, 4712, 6107, 2661, 3140,
        1115, 1117, 1119, 1121, 1123, 1125, 1127, 2583, 2591, 2599, 2607, 2615,
        2623, 2653, 2669, 3481, 4720, 4728, 4749, 2661, 6621, 6623, 4732, 4753,
        6188, 4511, 4056, 4071, 4724, 6109, 2665, 1153, 1155, 1157, 1159, 1161,
        1163, 1165, 2587, 2595, 2605, 2613, 2619, 2627, 2657, 2673, 3486, 6402,
        6394, 4732, 5554, 4753, 4611, 6188, 3507, 4511, 4056, 4071, 4724, 2665,
        6109, 1053, 1055, 1057};
    public static int randomarmour() {
        return randarmour[(int) (Math.random() * randarmour.length)];
    }
    public static int barrowsitem[] = {
        4708, 4710, 4712, 4714, 4716, 4718, 4720, 4722, 4724, 4726, 4728, 4730,
        4732, 4734, 4736, 4738, 4745, 4747, 4749, 4751, 4753, 4755, 4757, 4759};

    public static int randomBarrowsitem() {
        return barrowsitem[(int) (Math.random() * barrowsitem.length)];
    }
    public static int randpot[] = {
        113, 2428, 2430, 2432, 2434, 2436, 2438, 2440, 2442, 2444, 2446, 2448,
        2450, 2552, 3008, 3016, 3024, 3032, 3040, 6685};
    public static int randompot() {
        return randpot[(int) (Math.random() * randpot.length)];
    }

    public static boolean isPlate(int itemID) {
        for (int i = 0; i < platebody.length; i++) {
            if (platebody[i] == itemID) {
                return true;
            }
        }
        return false;
    }

    	public static boolean isFullHelm(int itemID)
	{
		for (int i=0; i<fullHelm.length; i++)
			if (fullHelm[i] == itemID)
				return true;
		return false;
	}

	public static boolean isFullMask(int itemID)
	{
		for (int i=0; i<fullMask.length; i++)
			if (fullMask[i] == itemID)
				return true;
		return false;
	}
    public static int castlew[] = { 391, 391, 391, 391};
    public static int randomcastlew() {
        return castlew[(int) (Math.random() * castlew.length)];
    }				
}
